package cn.demoncat.util.pay.unionpay.entity;

import java.time.LocalDateTime;

/**
 * 银联参数 - 支付
 * 
 * @author 延晓磊
 *
 * @since 2020年3月24日
 */
public class UnionpayParamPay {

	/**
	 * 交易时间：当前时间
	 */
	private LocalDateTime txnTime;
	/**
	 * 到期时间：订单过期时间
	 */
	private LocalDateTime endTime;
	/**
	 * 交易金额：分
	 */
	private Long amount;
	/**
	 * 支付订单号：8-40位字母数字；使用 merId + orderId + txnTime 唯一定位，同日不重复
	 */
	private String orderId;
	/**
	 * 支付订单描述：在线支付忽略；APP支付必传
	 */
	private String orderDesc;
	/**
	 * 业务保留域：通知、查询时原样返回
	 */
	private String reqReserved;
	
	public Long getAmount() {
		return amount;
	}

	public void setAmount(Long amount) {
		this.amount = amount;
	}

	public String getOrderId() {
		return orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	public String getOrderDesc() {
		return orderDesc;
	}

	public void setOrderDesc(String orderDesc) {
		this.orderDesc = orderDesc;
	}

	public LocalDateTime getEndTime() {
		return endTime;
	}

	public void setEndTime(LocalDateTime endTime) {
		this.endTime = endTime;
	}

	public LocalDateTime getTxnTime() {
		return txnTime;
	}

	public void setTxnTime(LocalDateTime txnTime) {
		this.txnTime = txnTime;
	}

	public String getReqReserved() {
		return reqReserved;
	}

	public void setReqReserved(String reqReserved) {
		this.reqReserved = reqReserved;
	}
}
